package com.fy.market.strategy.model.entity;

import lombok.Builder;
import lombok.Data;

/**
 * @author fwq
 * @description 奖品扣减库存结果实体
 * @date 2025-09-30 20:45
 */
@Data
@Builder
public class DecrAwardStockResultEntity {

    /**
     * 错误码
     */
    private Integer CODE;
    /**
     * 剩余库存
     */
    private Integer REMAINING_STOCK;
    /**
     * 构造函数
     *
     * @param code           错误码
     * @param remainingStock 剩余库存
     */
    public DecrAwardStockResultEntity(Integer code, Integer remainingStock) {
        this.CODE = code;
        this.REMAINING_STOCK = remainingStock;
    }
}
